package objects.inerhit;

public class Fruit {
    public double weight;

    public void info() {
        System.out.println("我是一个水果！重"
                + weight + "g！");
    }
}

